home *** CD-ROM | disk | FTP | other *** search
/ Gold Medal Software 3 / Gold Medal Software - Volume 3 (Gold Medal) (1994).iso / misc / ofcnhome.arj / OFCNHOM.TXT < prev    next >
Text File  |  1994-01-12  |  53KB  |  1,181 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11.                  OOO  FFFFF FFFFF III CCCCC EEEEE
  12.                 O   O F     F      I  CC    E    
  13.                 O   O FFF   FFF    I  CC    EEE  
  14.                 O   O F     F      I  CC    E    
  15.                  OOO  F     F     III CCCCC EEEEE
  16.  
  17.                          ''  NN    N  ''
  18.                          ''  N N   N  ''
  19.                          ''  N  N  N  ''
  20.                              N   N N    
  21.                              N    NN    
  22.  
  23.                    H   H   OOO   M   M  EEEEE
  24.                    H   H  O   O  MM MM  E    
  25.                    HHHHH  O   O  M M M  EEE  
  26.                    H   H  O   O  M   M  E    
  27.                    H   H   OOO   M   M  EEEEE
  28.  
  29.                            Version 1.0
  30.  
  31.  
  32.                     A file synchronizing tool
  33.                     for people who have a PC
  34.                     at home AND at the office
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.             Program and documentation Copyright 1994
  50.                by Michael Meron, Hamburg, Germany
  51.                 (CompuServe account# 100270,270) Foreword
  52.  
  53. I like PCs. I like them so much that I have one PC at the office
  54. (the one I am earning my money with), and one at home (the one I
  55. spend that money for). These two PCs are not yet connected (via
  56. modems or whatever), so if I need to have certain data on both ma-
  57. chines, I have to dance the "good old" diskette shuffle. But even
  58. if I had a better link than that, one question would still remain:
  59. Is there a way to start working on one machine, and continue work-
  60. ing on the other one at any time still using the same data pool ?
  61.  
  62. Well, at least I have been careful to make that possible one day.
  63. Every time I installed an application on both PCs, I used  the same
  64. directory structure on each of them (i.e., same directory names,
  65. same number of subdirectories, same names for those subdirectories,
  66. and same file names). Of course, there are also plenty of applica-
  67. tions on either machine which I do not want to have on the other
  68. one. Anyway--for the apps that I DO use on both computers, I take
  69. care to have consistent directory structures and files.
  70.  
  71. Sounds familiar ? If yes, read on. What I am going to introduce to
  72. you is a utility tailored to keep the files on those PCs "synchro-
  73. nized".  
  74.  
  75.                         Table of Contents
  76.  
  77.  
  78. An Introduction to Office'n'Home. . . . . . . . . . . . . .   1
  79.  
  80. What is Office'n'Home, and what is necessary to run it? . .   2
  81.  
  82. Why is it Shareware?. . . . . . . . . . . . . . . . . . . .   3
  83.  
  84. How does Office'n'Home work ? . . . . . . . . . . . . . . .   4
  85.  
  86. Office'n'Home's Syntax: How to start the program and how to
  87.      set its parameters . . . . . . . . . . . . . . . . . .   6
  88.  
  89. How to set up your Backup Software. . . . . . . . . . . . .  10
  90.  
  91. Three working batch file examples . . . . . . . . . . . . .  11
  92.  
  93. Synchronizing different drives. . . . . . . . . . . . . . .  13
  94.  
  95. A day in the life of Mr. Sampleuser . . . . . . . . . . . .  14
  96.  
  97. What if...? . . . . . . . . . . . . . . . . . . . . . . . .  17
  98.  
  99. A definition of Shareware . . . . . . . . . . . . . . . . .  19
  100.  
  101. How to register, and where to find help . . . . . . . . . .  20
  102.  
  103. Disclaimer. . . . . . . . . . . . . . . . . . . . . . . . .  20
  104.  
  105. Trademarks and Copyrights . . . . . . . . . . . . . . . . .  21
  106.  
  107. An Introduction to Office'n'Home
  108.  
  109. Office'n'Home is a program that is dedicated to everybody to wants
  110. to keep the directories and files of two or more PCs synchronized. 
  111.  
  112. But what is "Synchronization"? As an informal definition, we will
  113. say that two directories are synchronized if (and only if) they
  114. have exactly the same entries. And two (or more) PCs are synchro-
  115. nized if (and only if) all the directories that should be synchro-
  116. nized are indeed synchronized. This makes it necessary for a
  117. synchronizing program to make sure that...
  118.  
  119. a)   files that have been newly created on one PC must be created
  120.      on the other PC, too;
  121.  
  122. b)   files that have been updated on one PC must be accordingly
  123.      updated on the other PC;
  124.  
  125. c)   files that have been deleted on one PC must be removed from
  126.      the other PC, too;
  127.  
  128. d)   files that have been renamed on one PC must be accordingly
  129.      renamed on the other PC (automatically taking care of updates
  130.      that eventually occurred after the rename operation).
  131.  
  132. My particular situation is that I have a 386 with one hard disk at
  133. the office (being a node in the company's Token-Ring/Novell LAN),
  134. and a stand-alone 486 with two hard disks at home. On the office
  135. PC, there are drive names from A: to Z:, two of them being of
  136. special interest for me: First, the C: drive is the local drive,
  137. where I am keeping the files I privately own (such as development
  138. tools the company refused to buy for me). Second, the V: drive is
  139. the part of the LAN server's very big hard disk where the files
  140. reside that I must have access to. Given this, I must be able to
  141. keep two things synchronized: Both PC's entire C: drives, and a
  142. certain part of the office PC's V: drive against my home PC's D:
  143. drive.
  144.  
  145. If your situation is principally similar, then Office'n'Home is one
  146. for you, too. Of course, your individual configuration may look
  147. very different. For example, there may be no LAN involved at all,
  148. or you may want to have only certain directories synchronized, or
  149. every directory except certain files (to keep your private
  150. correspondence exclusively at home, for instance).
  151.  
  152. Most commercial backup utilities (such as Central Point Backup) are
  153. able to partially give you synchronization; this partial approach
  154. is normally called an "additive" or "incremental backup". Why is
  155. this only a partial solution ? Well, from the postulates (a) to (d)
  156. given above, you can instruct the utility to take care of (a) and
  157. (b) for you, but not of (c). In the case of (d), things get even
  158. more confusing as follows: Imagine you have a document file named
  159. DRAFT.DOC on both PCs. Today, while you're working at the office,
  160. you give it the "final touch", and make up your mind to rename it
  161. to FINAL.DOC. Before you go home, you do an incremental backup to
  162. diskette, and once arrived at home, you do a restore. 
  163. Oops! Now you have two documents at home (DRAFT.DOC has never been
  164. deleted there, and FINAL.DOC has just been restored), while you
  165. have only one at the office. Even worse: in case you had not yet
  166. saved DRAFT.DOC on your home PC, then you will bring it back to
  167. your office PC with your next incremental bakup. Voila, there it
  168. will be again, grinning at you: "You did not really think you can
  169. get rid of me, did you!?"
  170.  
  171. You bet this imagination was something I disliked. So this is,
  172. finally, why I wrote oah: I needed it myself. And as I'm writing
  173. this, I have been using it for more than a year.
  174.  
  175.  
  176. What is Office'n'Home, and what is necessary to run it?
  177.  
  178. Office'n'Home is a DOS program that works in conjunction with a
  179. backup utility of choice, and makes full file synchronization of
  180. two PC's hard disks (or parts thereof) possible.
  181.  
  182. Office'n'Home has been tested to be compatible with MS-DOS 3.3,
  183. 5.0, and 6.0, and with Novell Netware 3.11. However, since
  184. Office'n'Home accesses only very few basic DOS services (and only
  185. well-documented ones), I am as confident as one can be that it runs
  186. on other DOS or Network OS "flavors".
  187.  
  188. Be alarmed, however, to NEVER RUN Office'n'Home FROM WITHIN A
  189. MULTITASKING ENVIRONMENT, such as Windows, DesqView, or OS/2! This
  190. has nothing to do with Office'n'Home itself, but rather with the
  191. way these environments are working. They all need "temporary
  192. files", and in case one of those is accidentally deleted, unpre-
  193. dictable things may happen. So if you're a Windows user, run it
  194. before you start Windows, or afterwards. More about the do's and
  195. dont's will follow later, in more detail.
  196.  
  197. As already mentioned, you need a backup program that is able to
  198. save only those files whose "Archive Bit" is set (these are files
  199. that are either new, or have been changed recently; you will find
  200. more literature about the "Archive Bit" in your DOS manual). This
  201. is no restriction, however, because since you have DOS, you also
  202. already have a very well-suited (and well-documented) backup
  203. "program": the XCOPY command! Please take the time now to browse
  204. your DOS manual for the XCOPY command with the /A or /M parameter;
  205. I will later assume that you know it.
  206.  
  207. Of course, any commercially available, dedicated backup program
  208. (such as PC Backup, the Norton Backup, or Fastback, to name a few)
  209. will do at least as well as XCOPY. In case you have the choice
  210. between both a DOS and a Windows version of your backup program, I
  211. recommend using the DOS version. A DOS program avoids having to run
  212. Windows only for backup or restore purposes. But of course, both
  213. "flavors" will do just as well.
  214.  
  215. Since Office'n'Home can delete files (to serve the list items (c)
  216. and (d) in the introduction), I very strongly recommend you to have
  217. a good un-delete utility installed, such as DATAMON with Delete
  218. Sentry from the PC Tools. This is, of course, far more a general
  219. recommendation for your everyday work, than a precaution due to
  220. oah.
  221.  
  222. You should also have a good working knowledge of DOS. If you know,
  223. for example, how to copy or delete a file or directory, then you
  224. will feel comfortable with Office'n'Home. Of course, you should
  225. also know your backup utility, at least good enough to know how to
  226. create or restore incremental bakups. In the following text, I
  227. will give you tips related to Central Point Backup V8 for DOS, but
  228. I think you will be able to easily apply them to the program you're
  229. actually using.
  230.  
  231. One last condition for using oah: You can place it, and run it
  232. from, any directory on any drive you like AS LONG AS it is possible
  233. for Office'n'Home to delete and re-create itself. This means that
  234. if you chose a directory on a network drive, you must have "access,
  235. read, delete, create, and write rights" for at least the file
  236. OFCNHOM.EXE. But before you even start to worry if you have these
  237. rights or not: better don't run Office'n'Home from a network drive!
  238. On my office PC, I always run it from the local hard disk, from
  239. where it can easily scan the network drives. It is also possible to
  240. run it from a diskette, if everything else fails.
  241.  
  242.  
  243. Why is it Shareware?
  244.  
  245. It may be unusual to have an excurse about Shareware at the
  246. relative beginning of a documentation, but I felt that you ought to
  247. know as soon as possible how to use Office'n'Home "officially". I
  248. am trying hard to make both the program and its documentation as
  249. usable as possible, and I just thought that if I am fair to you,
  250. you will be fair to me. Okay - here goes:
  251.  
  252. This version of Office'n'Home is NOT public domain or free
  253. software, but is "Shareware" (I'll assume here that you have at
  254. least an informal understanding of what Shareware is. You can find
  255. an exact definition at the end of this documentation). You may try
  256. Office'n'Home out to see if it is useful for you. If you use it,
  257. you must register and pay for one license per two CPU's (i.e., your
  258. home and office PCs).
  259.  
  260. With the license,you will receive a version of the program that
  261. does not any more show the Shareware info on-screen. More info
  262. about how and where to license can be found at the end of this
  263. documentation.
  264.  
  265. The program (in the form of the original archived file only) may be
  266. freely distributed, but not sold (except under license;  more info
  267. individually upon request).  
  268.  
  269. Non-registered users of this software are granted a limited 14 day
  270. license to make an evaluation copy for trial use for the purpose of
  271. determining whether Office'n'Home is suitable for their needs. At
  272. the end of this trial period, you should either register your copy,
  273. or discontinue using Office'n'Home. 
  274.  
  275.  
  276. How does Office'n'Home work ?
  277.  
  278. Office'n'Home works in two "passes". The first pass scans the hard
  279. disk(s) of the PC it is currently running on for files that do not
  280. exist on the other PC (i.e., when it is running on the home PC, it
  281. searches files not existing on the office PC, and vice versa). It
  282. does not touch entire directories that do not exist on the other
  283. PC, even if you allowed it to. But once there is a directory that
  284. does exist on both PCs under the same name, Office'n'Home will
  285. "have a closer look" at that directory's contents.
  286.  
  287. When it finds a file that does not exist on the other PC,
  288. Office'n'Home prompts you whether this file should be deleted or
  289. not. NEVER will it delete anything without your explicit allowance
  290. to do so. From my own experience with oah, I have found that this
  291. confirmation is so important that I have removed a former "don't
  292. ask, just kill" option from the program, and nobody will ever
  293. convince me to re-install it!
  294.  
  295. Now there are two possibilities: You may either agree with the
  296. deletion (in case the file is undeletable, Office'n'Home will
  297. notify you), or you may prefer to leave it alone, and Office'n'Home
  298. will offer you to mark this file as "updated". Why updated ? Well,
  299. for synchronization's sake. Remember: We want to be sure that the
  300. directories we want to synchronize ARE INDEED synchronized, which
  301. means that there have to be exactly the same file names! Not a
  302. single one more, not a single one less. So if you refuse to delete
  303. a file that does not exist on the other PC, then you are bringing
  304. the two PCs out of synchronization! To compensate for that,
  305. Office'n'Home wants to make sure that this file will be included in
  306. your next incremental bakup (all updated files will), and every-
  307. thing will be in order again.
  308.  
  309. By the way--you have certainly realized that in the former para-
  310. graph I was saying "the same file names"; this is not necessarily
  311. the same as "the same files". An example: Assume you have told
  312. Office'n'Home to synchronize both PC's C: drives. You have a file
  313. C:\TXT\A.TXT on the office PC, which is 6 bytes long and contains
  314. the text "Banana". You also have a file C:\TXT\A.TXT on your home
  315. PC, but this one is three bytes long and contains "JAM". Assume
  316. further that there are no other files in that directory on either
  317. PC. Question: Would Office'n'Home consider these directories
  318. synchronized? Answer: Yes ! Everything else could be fatal. Fatal ?
  319. Well, I leave it to you to see that. Tip: Just think of each PC's
  320. CONFIG.SYS...
  321.  
  322. Pass 1 (synchronization) will not take place the very first time
  323. you are running oah, because it is not yet known which files are on
  324. the other PC, and which are not. You will be notified accordingly.
  325.  
  326. Pass 2 is a read-only pass. The drives and directories on this PC
  327. are scanned for file names (except drives, directories or files you
  328. have told Office'n'Home to skip); these names become stored in
  329. OFCNHOM.EXE itself. Office'n'Home manages this by filling itself
  330. with file names in RAM, then copying itself to a temporary file,
  331. then deleting itself from disk, and finally renaming the temporary
  332. file to OFCNHOM.EXE.
  333.  
  334. DOS gurus call this behavior "self-patching" and most of them don't
  335. consider it good manner (to which I generally agree). However, this
  336. program does not "patch" its code (it does not change the way it
  337. works). Instead, it just fills a dedicated data area in its body.
  338. This has two big advantages over a separate data file. First, the
  339. program needs nothing besides itself. Second, DOS will automatical-
  340. ly mark it as "updated" by setting the Archive Bit, so your backup
  341. program will include it with the next incremental backup. Self-
  342. modifying has the two disadvantages, however, that Office'n'Home
  343. cannot be run from a read-only device, and in case you are using an
  344. anti-virus utility, you have to tell it that changes in OFCNHOM.EXE
  345. are nothing to worry about.
  346.  
  347. While pass 2 will be performed immediately after pass 1 by default,
  348. this does not have to be so. You can instruct Office'n'Home to run
  349. only one pass of choice at a time. For example, it is a good idea
  350. to have two batch files, like these:
  351.  
  352. -    One batch file (say, FIRST.BAT) gets started every morning to
  353.      synchronize this PC with the other PC. It does so by first
  354.      running CP Backup to restore all files that have been added or
  355.      updated on the other PC, and then running pass 1 of Office'n'-
  356.      Home to take care for the deleted and renamed files.
  357.  
  358. -    The second batch file (say, LAST.BAT) is being run in the
  359.      afternoon, just before you switch off the machine, to prepare
  360.      for the synchronization of the other PC. This batch file first
  361.      runs pass 2 of oah, and then starts CP Backup to do an incre-
  362.      mental backup. This diskette will be read by the other PC's
  363.      FIRST.BAT, and so forth.
  364.  
  365. I will give you examples of how FIRST.BAT and LAST.BAT may look
  366. like in one of the following chapters.
  367.  
  368. Now that you have a good idea of what Office'n'Home is good for,
  369. and how it works, let's have a look at how the program is actually
  370. being called and the options available.
  371.  
  372.  
  373. Office'n'Home's Syntax: How to start the program and how
  374. to set its parameters
  375.  
  376. Let us start with an example. For this example, we will assume that
  377. Office'n'Home is installed in directory C:\UTI (of course, any
  378. other location is just as fine, as long as you have the privileges
  379. to write and to delete files in that directory. Please revert to
  380. the previous chapters for an explanation why this is necessary).
  381.  
  382.  
  383. As I have already explained, you should be at a "plain vanilla" DOS
  384. prompt to start oah; be careful NOT to call it when Windows, OS/2,
  385. or any other multitasking environment is running!
  386.  
  387. The directory where OFCNHOM.EXE is located must be the current
  388. directory, or the DOS PATH must point to it, or you must call it
  389. using a fully qualified name (if you don't know what a "fully
  390. qualified name" is, or what the PATH is, you ought to read the
  391. appropriate chapters in your DOS manual first).
  392.  
  393. Now have a look at the following line (but DO NOT yet press any
  394. key, please!):
  395.  
  396.         C:\UTI\OFCNHOM.EXE c: d:\wpwin*\*.* /x *.pvt /n1
  397.  
  398. I think you have already correctly guessed what this means, but
  399. let's have a closer look at all the components anyway:
  400.  
  401. C:\UTI\OFCNHOM.EXE  This is the program name. In this instance, we
  402.                     are giving DOS the fully qualified name. Of
  403.                     course, this would not be necessary if C:\UTI
  404.                     were our current directory or if C:\UTI were
  405.                     included in the PATH.
  406.  
  407. c:                  This is the first "parameter" we're handing
  408.                     over to oah. It tells the program that we want
  409.                     it to include all files on the C: drive, in
  410.                     all directories and sub-directories.
  411.  
  412. d:\wpwin*\*.*       The second parameter tells Office'n'Home that
  413.                     we want to include all files from drive D:,
  414.                     from all directories whose names begin with
  415.                     WPWIN, and their subdirectories. As you see,
  416.                     Office'n'Home allows for wildcards in directo-
  417.                     ry names (and by the way, in drive names,
  418.                     too).
  419.  
  420. /x                  The third parameter starts with a forward
  421.                     slash, so it is called a "switch". The X
  422.                     switch tells Office'n'Home that the list of
  423.                     files to be included has ended, and that the
  424.                     list of files to be eXcluded follows.
  425.  
  426. *.pvt               The fourth parameter, *.PVT, tells
  427.                     Office'n'Home to not process files whose
  428.                     extension is PVT, wherever they may be locat-
  429.                     ed.
  430.  
  431. /n1                 The fifth and last parameter is yet another
  432.                     switch. It stands for "No pass 1", and means -
  433.                     -you guessed it-- that pass number 1 (the
  434.                     synchronization pass) must not be performed.
  435.                     For an explanation of pass 1 and pass 2,
  436.                     please revert to the previous chapter.
  437.  
  438. Got the idea already ? Fine. Just a few more remarks before we will
  439. construct one more example:
  440.  
  441. -    As is true for most DOS utilities, Office'n'Home is not case
  442.      sensitive. For example, it does not matter if you specify the
  443.      X switch as /x or /X. However, it IS important that you use
  444.      the forward slash to announce it; a minus sign (-) will not
  445.      work.
  446.  
  447. -    Be sure to leave at least one space between any two adjacent
  448.      parameters.
  449.  
  450. -    As has already been mentioned, wildcards (? and *, as usual in
  451.      DOS) are okay in drive letters, directory names, file names,
  452.      and file extensions. For each of these, the default value is
  453.      "*". For example, MYFILE*.* is interpreted as ?:*\MYFILE.*,
  454.      meaning "Have a look at every drive from A: to Z:, and at
  455.      every directory and subdirectory you may find, and process any
  456.      file whose name starts with MYFILE."
  457.  
  458. -    Office'n'Home uses a "smart scan" algorithm when looking at
  459.      drives and directories. This means that it will not touch a
  460.      drive or directory if it were useless to search something of
  461.      interest there. In the example discussed above, Office'n'Home
  462.      would not read another drive besides C: and D:.
  463.  
  464. -    If you exclude a directory (for example, D:\TMP), you automat-
  465.      ically also exclude all its subdirectories (D:\TMP\SUB1,
  466.      D:\TMP\SUB1\SUB11, D:\TMP\SUB2,...). When you include a direc-
  467.      tory (for example, D:\OKAY), you do NOT automatically include
  468.      its subdirectories. You have to explicitly allow subdirectory
  469.      inclusion with proper wildcard usage (D:\OKAY\*).
  470.  
  471. All right. Now let us construct an example. Imagine you wanted to
  472. synchronize all spreadsheet (*.WKS) and all document (*.DOC) files
  473. found on any drive except the diskette drives. My suggestion is the
  474. following (your solution may be different):
  475.  
  476.                   OFCNHOM *.wks *.doc /x a: b:
  477.  
  478. Straightforward so far, isn't it? But wait--why didn't we have to
  479. exclude the A: and B: drives in the former example ? Well, due to
  480. oah's "smart scan", this was not necessary, because all the files
  481. of interest had to be on either the C:, or the D: drive (there was
  482. no other possibility). But in the latter example, the explicit
  483. exclusion is very well necessary (and I think the reason is plain
  484. to see).
  485.  
  486. Now let's finally consider the general syntax of oah:
  487.  
  488.      [full path]OFCNHOM {filename} [/x {filename}] [/n1]
  489.           [/n2] [/?]
  490.  
  491. Something enclosed in square braces ([]) means that this parameter
  492. is optional. As you can see, there is not a single mandatory
  493. parameter for oah. If you call it with no parameter at all, it will
  494. display a short help text and terminate. Do not type the square
  495. braces themselves.
  496.  
  497. Something enclosed in curly braces ({}) means that it may occur
  498. zero to 16 times. In other words: both the include files list, and
  499. the exclude files list may be empty, or contain up to 16 entries.
  500. Do not type the curly braces themselves.
  501.  
  502. The switches /n1, /n2, and /x have already been introduced in the
  503. previous chapter. The only parameter not yet mentioned (/?) was in-
  504. cluded for DOS compatibility only; it will tell Office'n'Home to
  505. display a short help text and terminate.
  506.  
  507. Be not afraid to give wrong input to oah. If you enter an invalid
  508. parameter, Office'n'Home will behave as if the /? parameter was
  509. given; in other words: It will display a help screen and terminate.
  510. If, on the other hand, everything was syntactically correct, it
  511. will display in detail what it is going to do, and it will ask you
  512. to confirm this display.
  513.  
  514. But what will Office'n'Home prompt you once it thinks it has found
  515. a file to delete ? Look at this:
  516.  
  517.      C:\WPDOS60\DOCS
  518.           OLDFILE.DOC <-- this file is...
  519.                Normal (...)
  520.           Delete it ? (y=yes, else no):
  521.  
  522. The first and second lines give us the full path name, so we know
  523. exactly which file Office'n'Home means. Next, Office'n'Home can
  524. display one or more of the following (where the actual wording may
  525. vary from version to version):
  526.  
  527.      Normal (neither changed, nor ready-only, etc.):
  528.           This file has not recently been changed, nor is it a new
  529.           one. This is the normal case, under which it is pretty
  530.           safe to let Office'n'Home delete it.
  531.  
  532.      Updated or changed
  533.           This will be prompted if Office'n'Home finds the Archive
  534.           Bit set. It is up to you to decide if you need this file
  535.           any longer, or not. However, this should not be too much
  536.           of a problem for you, because if you refuse to delete it,
  537.           it will automatically be included in your next incremen-
  538.           tal backup.
  539.  
  540.      Hidden
  541.           This is a file of whose existence you might not have been
  542.           aware at all. If you should delete it or not depends very
  543.           much of the application that created it, and please
  544.           understand that it is impossible for me to suggest what
  545.           to do. As a rule of thumb, you should NOT delete a hidden
  546.           file IF it is also a read-only and/or system file (see
  547.           below).
  548.  
  549.      Read-Only
  550.           This is a file that was flagged by an application to be
  551.           undeletable. Office'n'Home can, however, delete it
  552.           anyway, if you allow it to. Please see above under "Hid-
  553.           den" for my suggestions.
  554.  
  555.      System
  556.           This file is one that is of great importance for DOS. I
  557.           strongly recommend you to NOT delete it. I further recom-
  558.           mend you NOT to let Office'n'Home flag this file  as
  559.           "changed", since transferring this file can be harmful to
  560.           the other PC. Of course, if you are sure that it IS safe
  561.           to delete a certain system file, Office'n'Home is able to
  562.           do that for you.
  563.  
  564.      Younger than OFCNHOM.EXE
  565.           Well, this is a case that simply cannot happen if you're
  566.           using Office'n'Home regularly and correctly on both PCs.
  567.           However, me and you are only humans, and we can forget to
  568.           do something from time to time. When Office'n'Home
  569.           displays this message, it has found a file that was
  570.           created AFTER OFCNHOM.EXE. In other words: your current
  571.           copy of OFCNHOM.EXE is not up-to-date, because for exam-
  572.           ple, you remembered to restore it to this PC, but you
  573.           forgot to run it in time. However, if you are sure you
  574.           don't need this file any longer, it is safe to delete it,
  575.           since a new copy of OFCNHOM.EXE will be prepared prior to
  576.           your next incremental backup.
  577.  
  578. While we're talking about prompts--look at these:
  579.  
  580.      D:\PRIVATE <-- Found on this PC only. Skipped.
  581.      D:\PRIVATE\CORR <-- On this PC only. Skipped.
  582.      D:\PRIVATE\FINANCE <-- On this PC only. Skipped.
  583.  
  584. Do you remember that I've told you (in the chapter "How
  585. Office'n'Home works") that Office'n'Home will touch ONLY directo-
  586. ries that exist on BOTH PC's ? Well, here's the proof. While
  587. considering the directories on this PC's D: drive, Office'n'Home
  588. has found the directory D:\PRIVATE, which does not exist on the
  589. other PC. Consequently, it was skipped, and its two subdirectories
  590. CORR and FINANCE were skipped, too.
  591. One could argue here that it would be sufficient to tell the user
  592. that D:\PRIVATE was skipped, because this automatically means that
  593. all subdirectories were skipped as well. But from experience with
  594. the program, I find "redundant" information like this quite
  595. useful ! It gives me a clue that I might have removed an entire
  596. subdirectory on the other PC, and remembers me to remove it on this
  597. PC, too.
  598.  
  599. Depending on whether Office'n'Home was able to complete its job
  600. normally or not (because you cancelled it by pressing ESC, for
  601. example), it will set the DOS ERRORLEVEL value accordingly upon
  602. exit. In case you're running Office'n'Home from a batch file, you
  603. can use the DOS command IF ERRORLEVEL to react accordingly. The
  604. error levels currently defined are:
  605.  
  606.      0 (Number zero): Normal execution. No problem to report.
  607.  
  608.      1 (Number one): Office'n'Home did either not start at all (due
  609.      to the /? parameter, which only displays a help screen, for
  610.      example), or it was cancelled due to a user interrupt (ESC key
  611.      pressed) or some non-fatal error condition (undefined parame-
  612.      ter, etc.).
  613.  
  614.      2 (number two): Office'n'Home experienced severe problems with
  615.      the operation system and quit immediately to prevent your disk
  616.      from irrecoverable data loss.
  617.  
  618. Remember that under DOS, any errorlevel n includes all lower
  619. errorlevels (n-1), (n-2) etc., so you must test higher levels
  620. first. Look at this sample batch file excerpt:
  621.  
  622.      OFCNHOM (any parameters)
  623.      IF ERRORLEVEL 2 GOTO problem
  624.      IF ERRORLEVEL 1 GOTO halted
  625.      REM ERRORLEVEL 0 is true. Everything's fine.
  626.  
  627. All right. you are now allowed and encouraged to experiment a
  628. little with Office'n'Home (you did NOT try to do that any earlier,
  629. did you!?).
  630.  
  631.  
  632. How to set up your Backup Software
  633.  
  634. As already mentioned, Office'n'Home works closely together with
  635. your backup software. The former takes care of the files deleted or
  636. renamed, while the latter has to handle the files updated or creat-
  637. ed. Now that it is clear how to use oah, we will consider what has
  638. to be taken care of for the backup program.
  639.  
  640. The following examples and suggestions refer to Central Point
  641. Backup V8 for DOS ("CPB") in Advanced Mode (assuming that you are
  642. an advanced user). In case you have another backup software, it
  643. should be easy for you to apply everything accordingly.
  644.  
  645. Start CPB as you normally would. Make sure the backup method is set
  646. to "separate incremental", because we want the program to save only
  647. changed or freshly created files, and we want it to do that
  648. independent of any previous full backup.
  649.  
  650. Turn "Overwrite Warning" on. We will not need it for backup
  651. purposes, but it is very important during a restore (because we
  652. MUST NOT overwrite any file that already exists on this computer
  653. UNLESS the backed up file is newer).
  654.  
  655. If you do not want to save all changes from all drives and
  656. directories, specify which ones to include under Options |
  657. Selection options | Include/Exclude files. I recommend you to
  658. include/exclude the same files in both CPB and oah.
  659.  
  660. All other backup/restore options (for example, "Save history") are
  661. not of interest in this context, and you can leave them as they
  662. are, or change them at will.
  663.  
  664. Write this new CPB setup to a setup file named OFCNHOM. Give it a
  665. meaningful description, and accept CPB's defaults for everything
  666. else on the Save As screen. That's all!
  667.  
  668.  
  669. Three working batch file examples
  670.  
  671. Now that we have all the pieces, let's build the puzzle! You
  672. certainly remember my suggestion to have a "morning" batch file
  673. (FIRST.BAT), and an "afternoon" counterpart (LAST.BAT). You will
  674. have to install these batch files on both computers. If you would
  675. like to use them, you need not type them in, since they have been
  676. part of your download.
  677.  
  678. The following is FIRST.BAT:
  679.  
  680. CLS
  681. ECHO OFF
  682. ECHO Restoring all files that have been updated or created 
  683. ECHO on the other computer...
  684. ECHO When Backup asks you if it should overwrite a file, 
  685. ECHO remember to reply with
  686. ECHO "overwrite with (N)ewer file only", and 
  687. ECHO "(R)epeat for all later files"!
  688. PAUSE
  689. REM  Switch to the directory where CPBACKUP is found, and run it
  690. C:
  691. CD \CPB
  692. CPBACKUP
  693. ECHO Now synchronizing this computer with the other one...
  694. REM  Switch to the directory where Office'n'Home is found, 
  695. REM  and run it (pass 1 only)
  696. C:
  697. CD \UTILS
  698. OFCNHOM c: d:\work /n1
  699. IF ERRORLEVEL 1 goto syncerr
  700. ECHO Finished. Remember to call LAST.BAT 
  701. ECHO before switching off the machine!
  702. GOTO done
  703. :syncerr
  704. ECHO WARNING: Office'n'Home did not terminate successfully, 
  705. ECHO PCs may not be synchronized
  706. :done
  707.  
  708.  
  709. The following is LAST.BAT:
  710.  
  711. CLS
  712. ECHO OFF
  713. ECHO Now searching for drive, directory, and file names...
  714. REM  Switch to the directory where Office'n'Home is found, 
  715. REM  and run it (pass 2 only)
  716. C:
  717. CD \UTILS
  718. OFCNHOM c: d:\work /n2
  719. REM  Pass 2 only, expecting normal execution.
  720. REM
  721. ECHO Preparing to save all updated and/or created files.
  722. ECHO Have enough diskettes handy. Select File|Load Setup|
  723. ECHO load OFCNHOM at first.
  724. ECHO Then choose Start Backup. When finished, exit the program.
  725. PAUSE
  726. REM  Switch to the directory where CPBACKUP is found, and run it
  727. C:
  728. CD \CPB
  729. CPBACKUP
  730. ECHO Finished. You may now switch off this machine.
  731. ECHO Remember to run FIRST.BAT on the other computer 
  732. ECHO after start-up!
  733.  
  734.  
  735. Finally, here is a third batch file, SYNCPCS.BAT. It is the one
  736. that I have been using for about a year to synchronize my PC's
  737. entire C: drives. It combines the functionality of FIRST.BAT and
  738. LAST.BAT, depending on the replies you're giving to its prompts.
  739. The prompting is done using MS-DOS 6's CHOICE command (please have
  740. a look at your DOS manual for an explanation), but in case you do
  741. not have DOS 6, any other similar tool will do just as well.
  742.  
  743. This batch file also introduces my way to keep a copy of each PC's
  744. CONFIG.SYS and AUTOEXEC.BAT files on ALL machines, yet avoiding to
  745. accidentally overwrite or delete either one. There is a command
  746. "SET PC=nnn" in each PC's AUTOEXEC, which assigns a unique "PC ID
  747. number" on start-up. For example, on my home PC, this line reads
  748. "SET PC=001", while on my office PC, it reads "SET PC=002". This
  749. makes it easy for my batch files to decide which PC (i.e., which
  750. environment) they're actually running on.
  751.  
  752. The following is SYNCPCS.BAT:
  753.  
  754. @echo off
  755. cls
  756. echo Synchronizing PCs...
  757. REM  Ask the user if we need to run oah's pass 2
  758. REM  (the following is ONE LINE in the batch file!)
  759. c:\dos\choice  /c:yn /t:y,10 /n "Are you going to do a backup ?
  760.                [Y,n]: "
  761. if errorlevel 2 goto runpcb
  762. c:\uti\ofcnhom /n1 c:*.*
  763.  
  764. :runpcb
  765. REM  Make sure a copy of CONFIG and AUTOEXEC will be saved...
  766. copy c:\config.sys c:\config.%pc%>nul
  767. copy c:\autoexec.bat c:\autoexec.%pc%>nul
  768. REM  ...but not the actual files, to avoid overwriting the other
  769.      PC's configuration.
  770. REM  (Setting off the "Archive" bits will tell CPB that these
  771.      files have NOT changed.)
  772. c:\dos\attrib -a c:\config.sys
  773. c:\dos\attrib -a c:\autoexec.bat
  774. REM  Now run PC Backup (the /PS2 param only resets the mouse):
  775. cpbackup /ps2
  776.  
  777. :sync
  778. REM  The following is ONE LINE in the batch file!
  779. c:\dos\choice  /c:yn /t:y,10 /n "Did you restore anything ?
  780.                [Y,n]: "
  781. if errorlevel 2 goto exit
  782. REM  User did a restore - Now run oah's pass 1:
  783. c:\uti\ofcnhom /n2 c:*.*
  784.  
  785. :done
  786.  
  787. As you see, I trust so much in both CP Backup and oah, that I am
  788. NOT testing for ERRORLEVELs. I recommend very much to you not to be
  789. as lazy as I am, and to add the proper IFs yourself. And again,
  790. knowing that I am repeating myself: For heaven's sake, have a good
  791. UNDELETE utility installed (such as Delete Sentry) at all times and
  792. on all PCs!! This will make your life as a PC user much safer,
  793. regardless of whether you're using Office'n'Home or not.
  794.  
  795.  
  796. Synchronizing different drives
  797.  
  798. So far, I have only explained you how to synchronize directories on
  799. equally named drives (for example, C:\BAT on the home PC against
  800. C:\BAT on the office PC or vice versa). While this is what I am
  801. actually doing most of the time, there are situations where it is
  802. impossible to grant that all drives exist on all PCs. For example, 
  803. I sometimes want to synchronize my home PC's D: drive (which is the
  804. second hard disk drive) against the \INATIAM directory on my office
  805. PC's V: drive (which is in reality my part of the LAN Server's
  806. disk. Oh, and INATIAM stands for: It's not a trick, it's a Merony.
  807. Blush.)
  808.  
  809. No problem. Office'n'Home supports both the DOS SUBST command, and
  810. the Novell Netware MAP utility. In the following text, I'll assume
  811. that you are familiar with the SUBST command; if not, please refer
  812. to your DOS manual now and do some experiments with SUBST, until
  813. you feel comfortable with it. In case a Novell network is involved
  814. at your site, too, then you must also have an understanding of (and
  815. access to) MAP.EXE. Sorry, I do not know any other network
  816. operating system besides Novell, but I am sure that whichever
  817. network you may use, there sure exists something that lets you
  818. assign a local drive letter to a networked directory.
  819.  
  820. We are going to use a "buffer" drive for our purpose. First, we
  821. must find a "local" drive letter which is not in use on any PC. I
  822. am using K: for this purpose, and I will use it for the following
  823. examples, but of course any other unused letter will do just as
  824. well. Do not forget to have a look at both PC's CONFIG.SYS files,
  825. to verify that LASTDRIVE makes that letter available (your DOS
  826. manual will tell you more about LASTDRIVE if necessary).
  827.  
  828. The rest is obvious. While I do not have to take care for the C:
  829. drives (because C: exists on both PCs), I have to remap V:\INATIAM
  830. to K: before running SYNC.BAT on the office PC, like this:
  831.  
  832. MAP K:=V:\INATIAM
  833.  
  834. Or, if I were working on my home PC, I had to do issue a
  835.  
  836.                            SUBST K: D:
  837.  
  838. Of course, it is a good idea to include commands like these in the
  839. respective AUTOEXECs. If you prefer not to establish permanent
  840. drive mappings, it is okay to use them only temporarily for
  841. synchronizing purposes; but then again, remember to un-do them once
  842. you don't need them any longer:
  843.  
  844.                            MAP DEL K:  ,or
  845.                            SUBST K: /D ,respectively.
  846.  
  847.  
  848. A day in the life of Mr. Sampleuser
  849.  
  850. I will now demonstrate how synchronizing two PCs actually works.
  851. Let's watch the files that are residing in the C:\WPWIN\DOCS
  852. directory of Mr. Whatheheck I.S. Sampleuser's home and office PCs.
  853. This is of course not the only directory that he wants to synchro-
  854. nize. Alas, it is the only one he would let us have a look at, and
  855. that's sufficient for this chapter's purposes anyway.
  856.  
  857. On February 2 (who says everything must start on January 1 ?), the
  858. documents on both PCs are perfectly synchronized:
  859.  
  860.      Home               Office
  861.      DRAFT.DOC          DRAFT.DOC
  862.      IOM.DOC            IOM.DOC
  863.      PHONES.LST         PHONES.LST
  864.  
  865. It's 7am, and Mr. Sampleuser starts working at the office. First,
  866. he adds a new phone number to his phone list (PHONES.LST). At 9am,
  867. his boss drops in to give him the official okay for the new project
  868. schedules (DRAFT.DOC). Accordingly, Mr. Sampleuser renames
  869. DRAFT.DOC to SCHED1.DOC and prints the copies needed by the
  870. respective departments. At 10am, he writes, sends, and saves a fax
  871. under the name REQUEST.FAX. 
  872.  
  873. Now the situation looks like this:
  874.  
  875.      Home               Office
  876.      DRAFT.DOC          SCHED1.DOC (A)
  877.      IOM.DOC            IOM.DOC
  878.      PHONES.LST         PHONES.LST (A)
  879.                         REQUEST.FAX (A)
  880.  
  881. ...where (A) marks files that have changed, or have been created,
  882. since the most recent incremental backup.
  883.  
  884. Mr. Sampleuser has a half day off, so at 12am, he exits Windows (he
  885. can afford using Windows because his work is not time critical),
  886. and runs LAST.BAT (see the "Sample Batch files" chapter for an
  887. introduction of FIRST.BAT and LAST.BAT).
  888.  
  889. What happens first, is that Office'n'Home stores the four names
  890. listed above, marking itself as "changed" immediately afterwards.
  891. Next, PC Backup does an incremental backup, which includes all
  892. changed files from all directories that Mr. Sampleuser wants to
  893. synchronize. This means that from out sample directory, 
  894. SCHED1.DOC, PHONES.LST, and REQUEST.FAX are getting stored on
  895. diskette. And most important: Since Mr. Sampleuser took care to
  896. include his utilities directory in the backup, OFCNHOM.EXE is being
  897. saved, too.
  898.  
  899. Okay. Mr. Sampleuser is a quite normal PC user. Once arrived at
  900. home, he gives a short kiss to his wife and children, and storms
  901. into the cellar to fire up his private PC. After boot-up has
  902. completed, he inserts the diskette he prepared at the office, and
  903. starts FIRST.BAT.
  904.  
  905. The first thing FIRST.BAT does is to call PC Backup to restore all
  906. files from diskette. Of course, Mr. Sampleuser is careful to
  907. overwrite files ONLY if the copy on diskette is newer. Let's take
  908. a snapshot here:
  909.  
  910.      Home               Office
  911.      DRAFT.DOC          SCHED1.DOC
  912.      IOM.DOC            IOM.DOC
  913.      PHONES.LST (A)     PHONES.LST
  914.      REQUEST.FAX (A)    REQUEST.FAX
  915.      SCHED1.DOC (A)
  916.  
  917. Note that on the office PC, the (A)'s have disappeared. This proves
  918. that a backup had taken place. 
  919.  
  920. Now Office'n'Home gets into play. Almost instantly, it displays the
  921. following prompt:
  922.  
  923.      C:\WPWIN\DOCS
  924.           DRAFT.DOC <-- This file is...
  925.                Normal (...)
  926.           Delete it ? (y=yes, else no):
  927.  
  928. Mr. Sampleuser replies "y" to get rid of this file, and voila, both
  929. PCs are synchronized again. He jots down some marvelous ideas for
  930. tomorrow's work into a file IDEAS.DOC, and remembers to run
  931. LAST.BAT before switching off the machine. Snapshot:
  932.  
  933.      Home               Office
  934.      SCHED1.DOC (A)     SCHED1.DOC
  935.      IOM.DOC            IOM.DOC
  936.      PHONES.LST (A)     PHONES.LST
  937.      REQUEST.FAX (A)    REQUEST.FAX
  938.      IDEAS.DOC (A)
  939.  
  940. This time, you should be able to tell which files will be saved to
  941. diskette, and scanned into OFCNHOM.EXE, so I won't bother you be
  942. repeating all that stuff.
  943.  
  944. Can we gues what tomorrow's FIRST.BAT on the office PC will do ?
  945. Sure we can. First, it will restore all files that are newer on
  946. diskette than on disk. In other words, only IDEAS.DOC will be
  947. restored. Second, Office'n'Home will find nothing to delete (at
  948. least not in this directory). So we can already predict tomorrow's
  949. documents:
  950.  
  951.      Home               Office
  952.      SCHED1.DOC         SCHED1.DOC
  953.      IOM.DOC            IOM.DOC
  954.      PHONES.LST         PHONES.LST
  955.      REQUEST.FAX        REQUEST.FAX
  956.      IDEAS.DOC          IDEAS.DOC (A)
  957.  
  958. And Mr. Sampleuser was happily synchronizing his files ever
  959. after...
  960.  
  961.  
  962. What if...?
  963.  
  964. Since this is the very first time I am releasing Office'n'Home to
  965. the public, I have not yet received any questions and/or concerns.
  966. But as far as I can consider it, these are the questions you are
  967. most likely to ask  (and the respective answers, of course):
  968.  
  969.  
  970. Q:   What if I had two or more consequtive sessions on PC #1 (I
  971.      mean, I did not have the time to work on PC #2) ?
  972.  
  973. A:   No problem at all. From the view of PC #2, your many PC #1
  974.      sessions look like one. Just prepare for synchronizing as soon
  975.      as you're going to work on PC #2. In case you do not know in
  976.      advance when you'll be working at PC#2, be prepared for it
  977.      every day, but remember to use another set of backup diskettes
  978.      each time. Once you are ready to begin on PC #2, restore all
  979.      diskettes in chronological order, and run oah. That's all.
  980.  
  981.  
  982. Q:   What if I started working on PC #1, having forgotten to first
  983.      synchronize it with #2?
  984.  
  985. A:   Again: No problem! Simply run Office'n'Home now. Be careful
  986.      with the files that Office'n'Home will flag as "newer than
  987.      OFCNHOM.EXE". A general suggestion cannot be given, but if
  988.      you're in doubt, better leave these files in place.
  989.  
  990.  
  991. Q:   Sometimes Office'n'Home asks me if I want to delete a file
  992.      from a directory which I did not include. How come ?
  993.  
  994. A:   First: You DID include that directory! Have a closer look at
  995.      your Office'n'Home command line to convince yourself. Particu-
  996.      larly, look at the wild cards...  Second: To get out of that
  997.      directory for the moment, do not let Office'n'Home delete the
  998.      file, and do not let it mark the file as updated. The program
  999.      will then ask you if it should leave this directory alone.
  1000.      Answer "y" (yes).
  1001.  
  1002.  
  1003. Q:   What if I had accidentally allowed Office'n'Home to delete a
  1004.      file ?
  1005.  
  1006. A:   Don't panic! After all, you have followed my advice to have an
  1007.      UNDELETE utility installed, haven't you? Okay--write down the
  1008.      file's name as long as you still see it on the screen, and
  1009.      remember to undelete it as soon as possible. If you wish, you
  1010.      can now run Office'n'Home once again to mark this file as
  1011.      updated.
  1012.  
  1013. Q:   I am using another program than PC Backup for my backup
  1014.      purposes. Is that okay with Office'n'Home ?
  1015.  
  1016. A:   Sure it is. Even plain XCOPY (with the /A parameter) will do.
  1017.      Just be aware that your backup program will not be able to
  1018.      read the sample OFCNHOM.SET file (a PC Backup-specific
  1019.      configuration file), and you will have to change the sample
  1020.      batch files accordingly (FIRST.BAT and LAST.BAT).
  1021.  
  1022.  
  1023. Q:   I am not usually doing "incremental" backups to diskette.
  1024.      Instead, I use to make full or differential backups to tape.
  1025.      So what ?
  1026.  
  1027. A:   Again, absolutely no problem. I was only suggesting separate
  1028.      incremental backups for your convenience, because they usually
  1029.      take the least amount of time. Any kind of backup will do, as
  1030.      long as it will at least include all changed or created files
  1031.      from all directories that are scanned by Office'n'Home. And of
  1032.      course, OFCNHOM.EXE must also be backed up.
  1033.  
  1034.  
  1035. Q:   I have been running FIRST.BAT (or LAST.BAT), and it says that
  1036.      it cannot find CPBACKUP (or OFCNHOM.EXE). What's up ?
  1037.  
  1038. A:   Well, when you installed PC Backup (or oah, respectively), you
  1039.      had simply chosen another directory to hold the program than
  1040.      I had. It's just a matter of taste. All you have to do is to
  1041.      edit the batch file(s) to suit your directory names, and re-
  1042.      run it.
  1043.  
  1044.  
  1045. Q:   I was running LAST.BAT at the office, without problems. Howev-
  1046.      er, soon after it was finished, my boss came in and told me to
  1047.      write yet another report for him (TEXT5.DOC). After that, I
  1048.      know I could have simply re-run LAST.BAT (using another
  1049.      diskette), but I did not have the time to do that. Any
  1050.      comments ?
  1051.  
  1052. A:   Since you were not able to re-run PC Backup after you wrote
  1053.      that last report, it will not be restored to your home PC
  1054.      today (because it was not included in the backup). And since
  1055.      Office'n'Home did not yet know about TEXT5.DOC, it will
  1056.      synchronize your home PC to the office PC as it was at the
  1057.      point in time when you ran LAST.BAT. If you do not immediately
  1058.      need that report at home, don't worry; it will be automati-
  1059.      cally included the next time you run LAST.BAT on the office
  1060.      PC. If you DO need it, though, I am afraid you're out of luck,
  1061.      and you must be patient until tomorrow.
  1062.  
  1063.  
  1064. Q:   I have been running the sample batch file SYNCPCS.BAT, but I
  1065.      get the error message "bad command or file name". What's up ?
  1066.  
  1067. A:   First, SYNCPCS needs DOS 6, because it makes use of the new
  1068.      CHOICE command. Second, if you DO have DOS 6, remember that a
  1069.      sample is a sample. Your programs (such as PC Backup) may be
  1070.      stored in a different directory than I assumed when I wrote
  1071.      SYNCPCS:BAT. Simply edit the batch file to suit your individu-
  1072.      al file locations, then re-run it.
  1073.  
  1074.  
  1075. Q:   Are there any files which I should not let Office'n'Home
  1076.      delete under all circumstances ?
  1077.  
  1078. A:   I recommend to never delete DOS's system files (like IO.SYS,
  1079.      or IBMBIO.COM, repectively). Further, you should not delete
  1080.      AUTOEXEC.BAT, and CONFIG.SYS. It is very unlikely that
  1081.      Office'n'Home will ever ask you if it should delete one of
  1082.      those, though. There may be other files which you should leave
  1083.      alone, too, but that depends very much on what PC environment
  1084.      you're using (for example, it is not a good idea to delete
  1085.      Window's "permanent swap file"). As a rule of thumb, never
  1086.      delete a file if Office'n'Home tells you that it is a system
  1087.      file (you'd better consider why this file does not exist
  1088.      anymore on the other PC!).
  1089.  
  1090.  
  1091. Q:   Can I synchronize more than two PCs?
  1092.  
  1093. A:   Sure you can. Let's assume that you have, say, three PCs,
  1094.      named A, B, and C. All you have to do is to synchronize B with
  1095.      A first, C with B second, and A with C third. You don't even
  1096.      have to be concerned of all three PC's at all times. For
  1097.      example, just synchronize A and B every day, and C with A once
  1098.      a week. Everything will be fine! If it is not immediately
  1099.      clear to you why this works, I recommend you to jot down a
  1100.      scenario similar to "Mr. Sampleuser" on a scratch paper; this
  1101.      time not with 2, but with n machines.
  1102.  
  1103. (Q&A section to be continued - your ideas are requested!)
  1104.  
  1105.  
  1106. A definition of Shareware
  1107.  
  1108. I promised to give you an exact definition of "Shareware".
  1109. Hopefully, this will be exact enough for you:
  1110.  
  1111. Shareware  distribution  gives users  a  chance  to try  software 
  1112. before buying it.  If you  try a Shareware  program and  continue 
  1113. using it, you are  expected to register. Copyright laws  apply to 
  1114. both Shareware and  commercial software,and the copyright  holder 
  1115. retains  all rights,  with a  few specific  exceptions as  stated 
  1116. below. Shareware authors are accomplished programmers,  just like 
  1117. commercial authors,  and the programs are  of comparable quality. 
  1118. (In  both cases, there are good programs  and bad ones!) The main 
  1119. difference  is   in  the  method  of   distribution.  The  author 
  1120. specifically  grants  the  right  to  copy  and  distribute   the 
  1121. software, either to  all and sundry  or to a specific  group. For 
  1122. example,  some   authors  require  written  permission  before  a 
  1123. commercial disk vendor may copy their Shareware.
  1124.  
  1125. Shareware is a distribution  method, not a type of  software. You 
  1126. should find  software  that  suits  your  needs  and  pocketbook, 
  1127. whether it's commercial or Shareware. The Shareware system  makes 
  1128. fitting  your needs easier, because  you can try  before you buy. 
  1129. And because the overhead  is low, prices are low  also. Shareware 
  1130. has the ultimate  money-back guarantee  -- if you  don't use  the 
  1131. product, you don't pay for it.
  1132.  
  1133.  
  1134. How to register, and where to find help
  1135.  
  1136. A Office'n'Home registration licenses you to use the product on a 
  1137. regular basis. Individual registrations for Office'n'Home cost $10.
  1138. Volume discounts and/or site licenses are available upon request.
  1139.  
  1140. At the moment of this writing, I am distributing  exclusively
  1141. through CompuServe ("CIS"), so the only way to register is through
  1142. CIS. It is also currently the only way to get help.
  1143.  
  1144. Registering is easy. Just GO SWREG, and when asked which program to
  1145. register to, answer 123456. That■s all! A single regular registra-
  1146. tion fee of $10 will be automatically forewarded to me, and you
  1147. will be charged through your CIS-related credit card.
  1148.  
  1149. Getting help is also easy. Just drop me a note; I am "Michael Meron
  1150. 100270,270". I will reply asap. (Oh yes, I know there are certain
  1151. guys who spew test messages, just to see if some CIS account is
  1152. really alive and kicking. All right, go ahead, I cannot stop you
  1153. either. But remember that you keep me away from responding to
  1154. serious mail!)
  1155.  
  1156.  
  1157. Disclaimer
  1158.  
  1159. I do everything to make sure that Office'n'Home (among others) is
  1160. well-behaved and does exactly what it is intended to do. However, 
  1161. users of Office'n'Home must accept  this disclaimer  of warranty: 
  1162.  
  1163. "Office'n'Home is supplied as is. The author disclaims all 
  1164. warranties, expressed or implied, including, without limitation,the 
  1165. warranties of merchantability and of fitness for any purpose.The 
  1166. author assumes no liability  for damages, direct or consequential,
  1167. which may result from the use of Office'n'Home."
  1168.  
  1169.  
  1170. Trademarks and Copyrights
  1171.  
  1172. Office'n'Home and OFCNHOM.EXE are trademarks of Michael Meron EDV-
  1173. Beratung, Hamburg, Germany. MS-DOS and Windows are registered 
  1174. trademarks of Microsoft Corporation. PC-DOS is a registered
  1175. trademark of IBM Corporation. PC Tools and PC Backup are registered
  1176. trademarks of Central Pint Software, Inc. The Norton Backup is a
  1177. registered trademark of Symantec Corp. Fastback is a registered
  1178. trademark of Fifth Generation Systems, Inc.
  1179.  
  1180. All other brand names are trademarks or registered trademarks of
  1181. their respective owners.